package com.kgc.springboot.aviation.pojo;

public class Menu {
    private Integer id;

    private String menuName;

    private Integer lawsId;

    private Integer branchId;

    private Integer menuSorting;

    private Directory directory;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public Integer getLawsId() {
        return lawsId;
    }

    public void setLawsId(Integer lawsId) {
        this.lawsId = lawsId;
    }

    public Integer getBranchId() {
        return branchId;
    }

    public void setBranchId(Integer branchId) {
        this.branchId = branchId;
    }

    public Integer getMenuSorting() {
        return menuSorting;
    }

    public void setMenuSorting(Integer menuSorting) {
        this.menuSorting = menuSorting;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", menuName='" + menuName + '\'' +
                ", lawsId=" + lawsId +
                ", branchId=" + branchId +
                ", menuSorting=" + menuSorting +
                '}';
    }

    public Directory getDirectory() {
        return directory;
    }

    public void setDirectory(Directory directory) {
        this.directory = directory;
    }
}